<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="fy.bean.*,java.util.*,java.io.*"%>
<%@page import="java.text.SimpleDateFormat"%>
<%
//原始的

	int id = Integer.parseInt(request.getParameter("id"));
    System.out.println(id);
  
	String lb = request.getParameter("category");
	session.setAttribute("category", lb);
	Ssfwzx ssfwzx = new Ssfwzx();
	ssfwzx = ssfwzx.findNewsById(id);
%>
<!DOCTYPE html>
<html>

<head>

<style type="text/css">
table {
	margin-top: 5px;
	width: 100%;
}

td {
	height: 35px;
}

.left {
	width: 12%;
	text-align: center;
	background-color: #e6f2fe;
}

.form {
	border-color: #acd0d0;
}

.pic {
	height: 200px;
	text-align: center;
}
</style>


<meta charset="UTF-8">
<title>Insert title here</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="../webupload/bootstrap/css/bootstrap.min.css"
	rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css"
	href="../webupload/webuploader.css">
<link rel="stylesheet" type="text/css" href="../webupload/style.css">
<style type="text/css">
.update_input {
	margin-top: 5px;
	margin-bottom: 5px;
	width: 100%;
}
</style>
</head>

<body
	style="padding-left: 20px; padding-right: 20px; padding-bottom: 50px;">

	<div class="abroad">
		<div class="within">
			    
			 <div  style="height: 600px;width: 60%;margin: auto;">
       <form name="form" method="post" action="dossfwzx/updata.jsp" >
       <div style="display: none;">   类别：<input type="text" id="category" value="yyla" name="category"></div>
        <div style="display: none;"><input type="text" id="id"  name="id" value="<%=ssfwzx.getId() %>"></div>
      <div>
  
       <br>
       <div style="display: none;">   是否显示：<input type="text" id="puton" value="1" name="puton"></div>
       <div style="display: none;">   是否在首页显示：<input type="text" id="homepage" value="1" name="homepage"></div>
      <label  style="font-size: 18px;"><i>*</i>&nbsp;案件名称：</label>
      <input name="title" type="text" class="textfield " id="title" style="width: 68%;height: 30px;"value="<%=ssfwzx.getTitle() %>" />
      </div>
      <div>
      <br>
       <div style="display: none;">时间：<input type="text" id="txtDate" value="<%=ssfwzx.getTime() %>" name="txtDate" /></div>
      <label style="font-size: 18px;"><i>*</i>&nbsp;当&nbsp;事&nbsp;人&nbsp;：</label>
      <input type="text" name="author" id="author" class="textfield" style="width: 68%;height: 30px;" value="<%=ssfwzx.getAuthor() %>"/>
      </div>
      <div>
        <br>

      <label style="font-size: 18px;"><i>*</i>&nbsp;联系电话：</label>
      <input type="text" name="phone" id="phone" class="textfield" style="width: 68%;height: 30px;"value="<%=ssfwzx.getPhone() %>"/><br/>
      <div>
      <br>
 
      <label style="font-size: 18px;"><i>*</i>&nbsp;电子邮箱：</label>
      <input type="text" name="email" id="email" class="textfield" style="width: 68%;height: 30px;"value="<%=ssfwzx.getEmail() %>"/>
      </div>
      </div>
      
      <br />
      <div>
  
 
      <div style="font-size: 18px;float: left;font-weight: 700;"><i>*</i>&nbsp;案件概况：</div>
            <textarea name="content" id="content"type="text" cols="68" rows="3" class="textarea" style="width: 68%;height: 150px;"><%=ssfwzx.getContent()%></textarea>
    
    <div style="display: none;"><label style="font-size: 18px;"><i>*</i>&nbsp;联系方式：</label>
      <input type="text" name="phone" id="phone" class="textfield" style="width: 68%;height: 50px;"value="<%=ssfwzx.getPhone() %>"/></div>
   
      </div><br />
      
   
   <div class="sl-button"><center> 
      <br /><br />     
     <button id="submit" class="update_button">处理</button>

      </div>
   
     </div>
     </from>
     </div>
    
  </div>   
			    
	
</body>

</html>